package com.rancher.demo.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class TestController {

    @GetMapping("test")
    public Map test(String name){
        HashMap<String, String> dataMap = new HashMap<>();
        dataMap.put("hello",name);
        return dataMap;
    }
}
